package com.gym.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("coach_info")
public class CoachInfo {
    @TableId(value = "coach_id",type = IdType.AUTO)
    private Integer coachId;
    @TableField("coach_name")
    private String coachName;
    @TableField("coach_sex")
    private String coachSex;
    @TableField("coach_phone")
    private String coachPhone;
    @TableField("coach_age")
    private String coachAge;
    @TableField("coach_address")
    private String coachAddress;
    @TableField("coach_text")
    private String coachText;
}
